<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item replace to="/layout/index" icon="home-o"
        >首页</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/find" icon="search"
        >找房</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/info" icon="newspaper-o"
        >资讯</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/user" icon="user-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "RentLayout",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>
</style>